package com.best.oasis.settlement.web.action.sample;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.flex.remoting.RemotingDestination;
import org.springframework.stereotype.Service;

import com.best.oasis.settlement.common.entity.sample.Sample;
import com.best.oasis.settlement.common.so.sample.SampleSO;
import com.best.oasis.settlement.common.vo.sample.SampleVO;
import com.best.oasis.settlement.service.sample.SampleService;
import com.best.oasis.settlement.util.page.PageList;
import com.best.oasis.settlement.web.action.base.BaseActionImpl;

@RemotingDestination
@Service
public class SampleActionImpl extends BaseActionImpl<SampleVO, Sample> implements SampleAction {

	@Autowired
	private SampleService sampleService;
	
	@Override
	public void afterConstruct() {
		super.setBaseService(sampleService);
	}
	public PageList<SampleVO> getPageList(SampleSO so){
		return sampleService.getPageList(so);
		
	}
}
